package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.entity.RoleAuthEntity;
import com.zhenwei.zscm.model.dto.roleAuth.RoleAuthDTO;
import com.zhenwei.zscm.model.vo.roleAuth.RoleAuthVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RoleAuthMapping {
    RoleAuthMapping INSTANCE = Mappers.getMapper(RoleAuthMapping.class);
    RoleAuthDTO entity2Dto(RoleAuthEntity entity);
    RoleAuthEntity dto2Entity(RoleAuthDTO dto);
    RoleAuthEntity vo2Entity(RoleAuthVO vo);
}
